object frZ_PO_RAIONU: TfrZ_PO_RAIONU
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = #1047#1072#1103#1074#1082#1080'('#1089#1086' '#1089#1090#1072#1090#1091#1089#1086#1084' '#1087#1088#1080#1103#1090#1072'/'#1074#1099#1087#1086#1083#1085#1103#1077#1090#1089#1103') '#1087#1086' '#1088#1072#1081#1086#1085#1091
  ClientHeight = 426
  ClientWidth = 1006
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  KeyPreview = True
  OldCreateOrder = False
  Position = poMainFormCenter
  OnKeyPress = FormKeyPress
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object gbPO_RAIONU: TcxGroupBox
    AlignWithMargins = True
    Left = 3
    Top = 3
    Align = alClient
    TabOrder = 0
    Height = 420
    Width = 1000
    object sgSPR_PLIT: TcxGrid
      Left = 2
      Top = 18
      Width = 996
      Height = 400
      Align = alClient
      TabOrder = 0
      LookAndFeel.Kind = lfFlat
      object sgSPR_PLITDBTableView1: TcxGridDBTableView
        NavigatorButtons.ConfirmDelete = False
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsData.Editing = False
        OptionsData.Inserting = False
        OptionsSelection.InvertSelect = False
        OptionsView.CellEndEllipsis = True
        OptionsView.GroupByBox = False
        OptionsView.Indicator = True
        object sABON: TcxGridDBColumn
          Caption = #1051#1080#1094#1077#1074#1086#1081
          DataBinding.FieldName = 'ABON'
        end
        object sPUNKT: TcxGridDBColumn
          Caption = #1053#1072#1089'. '#1087#1091#1085#1082#1090
          DataBinding.FieldName = 'NAI_PUNKT'
          Width = 86
        end
        object sUL: TcxGridDBColumn
          Caption = #1059#1083#1080#1094#1072
          DataBinding.FieldName = 'NAI_UL'
        end
        object sSTATUS: TcxGridDBColumn
          Caption = #1057#1090#1072#1090#1091#1089
          DataBinding.FieldName = 'NAIM_STATUS'
          Width = 78
        end
        object sVID_GAZA: TcxGridDBColumn
          Caption = #1042#1080#1076' '#1075#1072#1079#1072
          DataBinding.FieldName = 'GAZ'
          Width = 65
        end
        object sNA_DATU: TcxGridDBColumn
          Caption = #1053#1072' '#1076#1072#1090#1091
          DataBinding.FieldName = 'NA_DATU'
        end
        object sNA_TIME: TcxGridDBColumn
          Caption = #1053#1072' '#1074#1088#1077#1084#1103
          DataBinding.FieldName = 'NA_VREMIA'
          Width = 58
        end
        object sHAR_JOB: TcxGridDBColumn
          Caption = #1061#1072#1088'. '#1088#1072#1073#1086#1090#1099
          DataBinding.FieldName = 'TIP_JOB'
          Width = 79
        end
        object sJOB: TcxGridDBColumn
          Caption = #1056#1072#1073#1086#1090#1072
          DataBinding.FieldName = 'JOB'
          Width = 124
        end
        object K_SOTR: TcxGridDBColumn
          Caption = #1057#1083#1077#1089#1072#1088#1100
          DataBinding.FieldName = 'FIO_SOTR'
        end
      end
      object sgSPR_PLITLevel1: TcxGridLevel
        GridView = sgSPR_PLITDBTableView1
      end
    end
  end
  object dsetPO_RAIONU: TIBCQuery
    Connection = dmOne.IBDBOne
    SQL.Strings = (
      'select DISTINCT * from ZAY_PO_RAION(:NOM_ABON,:DAT)')
    Left = 930
    Top = 14
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'NOM_ABON'
      end
      item
        DataType = ftUnknown
        Name = 'DAT'
      end>
  end
  object dsetNAIM_RAION: TIBCQuery
    Connection = dmOne.IBDBOne
    SQL.Strings = (
      'select S.KOD_PUNKT, S.KOD_VU, S.KOD_UL,'
      '(select R.KOD from RAION R where R.KOD_PUNKT=s.kod_punkt'
      'AND R.KOD_VU=s.kod_vu AND R.KOD_UL=s.kod_ul) as RAION,'
      '(select K.NAIM_KOD from KLSFCT K where K.KOD=23 AND K.KOD_HC='
      '(select R.KOD from RAION R where R.KOD_PUNKT=s.kod_punkt'
      'AND R.KOD_VU=s.kod_vu AND R.KOD_UL=s.kod_ul)) as NAIM_RAION'
      'from SPR_ABON S'
      'where S.NOM_ABON=:NOM_ABON')
    Left = 928
    Top = 48
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'NOM_ABON'
      end>
  end
  object dsPO_RAIONU: TIBCDataSource
    DataSet = dsetPO_RAIONU
    Left = 961
    Top = 14
  end
  object dsNAIM_RAION: TIBCDataSource
    DataSet = dsetNAIM_RAION
    Left = 960
    Top = 47
  end
end
